﻿@model long

<div class="lisa-kommentar">
    @if(User.Identity.IsAuthenticated)
    {
        var user = Html.GetCurrentUser();
	<div class="lisa-kommentar-head">
		<p> <a href="@Url.Content("~/profiles/details/" + user.Id)"><img alt="@user.UserName" src="@Html.GetProfileUrl(user.Id)" width="16" height="16" /></a> <strong><a href="@Url.Content("~/profiles/details/" + user.Id)">@user.UserName</a>, @Resources.EnetaMvc.WhatDoYouThink</strong> </p>
	</div>
	<form action="@Url.Action("AddComment", new { id = Model })" method="post">
		<fieldset>
		<div class="ie7-fix"><textarea cols="70" rows="6" name="Body"></textarea></div>
		<div class="submit">
			<input type="submit" value="@Resources.EnetaMvc.AddComment" />
		</div>
		</fieldset>
	</form>
    }
	@*<div class="slide-box" >
		<div class="slide-box-center">
			<div class="slide-box-bottom"> <a class="close" href="#">close</a>
				<div>
					<p>Lisa oma <a href="#">veebilehe aadress</a>, mis ilmub koos kommentaariga.</p>
				</div>
			</div>
		</div>
	</div>*@
</div>